<ul>
        {foreach from=$rows item="entry"}
		<li style="list-style: none">
				<a href="{$entry.url}" target="_blank">{$entry.title}</a>
				&nbsp;&nbsp;&nbsp;
				<blockquote>{$entry.content}<br /><i>{$entry.publishdate} by {$entry.author}</i></blockquote>
			</li>
		{foreachelse}
			no match found
        {/foreach}
</ul>
<hr />
<br />
<center>
<form action="index.php" method="GET">
	排序：
	<select name="sortby">
		<option value="">－select one－</option>
		<option value="publishdate-desc">发布日期降序</option>
		<option value="publishdate-asc">发布日期升序</option>
	</select>
	<input type="text" value="{$keyword}" name="q" />
	<input type="submit" />
</form>
</center>

<p>{$pagebar}</p>
